<?php

/**
 * 注册路由
 */
if(isset($router) && $router instanceof \Phalcon\Mvc\RouterInterface) {
    $router->add('/login', [
        'controller' => 'account',
        'action' => 'login'
    ])->setName('login');
}